import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        MyCircularQueue queue = new MyCircularQueue(5);
        queue.enQueue(1);
        queue.enQueue(2);
        queue.enQueue(3);
        queue.enQueue(4);
        queue.enQueue(5);
        queue.deQueue();
        queue.deQueue();
        queue.enQueue(5);
        System.out.println(Arrays.toString(queue.sums));
    }
}
